package com.leslie.ai.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author Leslie Lee
 * @version 2003/04/01
 * @date 1956/09/12
 */
@Data
@TableName("test")
@ExcelIgnoreUnannotated
public class TestEntity implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

//    @TableId(type = IdType.AUTO)
    private Integer id;

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("性别")
    private String sex;

    private LocalDate createTime;

    private LocalDate updateTime;

    @TableLogic
    private Integer isDelete;

}
